<?php
class Account_log_model extends BZ_Model
{
    private $table   = 'account_log';
    
    public function insertAccountLog($postData)
    {
        $postData['date'] = date('Y-m-d H:i:s', time());

        $this->db->insert($this->table, $postData);
        return $this->db->insert_id();
    }
}